import { ModelBase } from "@models/model.base";

class MarketPriceModel extends ModelBase {
  productId: string;
  bidPrice: number;
  bidSize: number;
  askPrice: number;
  askSize: number;

  constructor(
    id: string,
    productId: string,
    bidPrice: number,
    bidSize: number,
    askPrice: number,
    askSize: number
  ) {
    super(id);

    this.productId = productId;
    this.bidPrice = bidPrice;
    this.bidSize = bidSize;
    this.askPrice = askPrice;
    this.askSize = askSize;
  }
}
